{:W('Weibo',array('tpl_name'=>'event_share_weibo','button_title'=>'分享'))}
<ul class="search">
              <volist name="data" id="vo">
                <li class="lineD_btm" id="event_{$vo['id']}">
                  <div class="left" style="width: 90px;"><span class="pic80"><a href="{:U('event/Index/eventDetail', array('id'=>$vo['id'], 'uid'=>$vo['uid']))}"><img src="{$vo['cover']}" /></a></span></div>
                  <div class="right rmenu" style="width: 60px;">
                    <php> if( $vo['deadline']>time()){ </php>                    
                      <span class="cGreen lh35" id="event_satus_{$vo['id']}">                        
			            <php>
			                $tpl_data = urlencode(serialize(array(
			                              'author'=>getUserName($vo['uid']),
			                              'title'=>$vo['title'],
			                              'url'=>U('event/Index/eventDetail',array('id'=>$vo['id'],'uid'=>$vo['uid'])),
			                )));
			            </php>
                        <a href="#" onclick="_widget_weibo_start('', '{$tpl_data}');" >分享活动</a>
                        <?php if( $vo['admin'] ){ ?>
		                  <a href="javascript:endEvent( '{$vo['id']}' )">提前结束</a>
		                  <a href="javascript:location.href='{:U('/Index/edit',array('id'=>$vo['id']))}';">编辑活动</a>
		                  <a href="javascript:delEvent( '{$vo['id']}' )">删除活动</a>
                        <?php } ?>                    
                      </span>
                      <span class="list_joinIn_{$vo['id']}">
                      <php> if( $vo['follow'] ){ </php>
                      <php> if( $vo['canJoin'] ){ </php>
                          <php> if( $vo['limitCount'] >0 ){ </php>
                            <a href="javascript:EventAction( {$vo['id']},{$vo['opts']['allow']},'joinIn')">我要参加</a>
                          <php> }else{ </php>
	                        <span class="cGreen lh35">名额已满</span>
	                      <php> } </php>
	                  <php> }else if( false == $vo['admin'] ){ </php>
                            <?php if( $vo['opts']['allow'] == 1 && $vo['hasMember'] != 1){ ?>
                               <a href="javascript:EventDelAction( {$vo['id']},{$vo['opts']['allow']},'joinIn' )">取消申请</a>
	                        <?php }else{ ?>
                               <a href="javascript:EventDelAction( {$vo['id']},null,'joinIn' )">取消参加</a>
	                        <?php } ?>
                      <php> } </php>
                      <php> } </php>
	                  <php> if( $vo['canAtt'] ){ </php>
                            <span class="list_attention_{$vo['id']}">
	                          <a href="javascript:EventAction( {$vo['id']},null,'attention')">我要关注</a>
                            </span>
	                  <php> }else if( false == $vo['admin'] && true == $vo['canJoin']){ </php>
                            <span class="list_attention_{$vo['id']}">
	                          <a href="javascript:EventDelAction( {$vo['id']},null,'attention')">取消关注</a>
                            </span>
	                  <php> } </php>
                      </span>
                    <php> }else{ </php>
                      <span class="cGreen lh35">活动结束</span>
                    <php> } </php>
                  </div>
                  <div style="margin:0 70px 0 90px;">
                    <h3><a href="{:U('//eventDetail', array('id'=>$vo['id'], 'uid'=>$vo['uid']))}">{$vo['title']}</a><span class="cGray2 f12px">[{$vo['type']}]</span></h3>
                    <p><span class="cGray2">活动时间：</span>[{$vo['time']}] </p>
                    <p><span class="cGray2">活动地点：</span>{$vo['address']} {$vo['area']}</p>
                    <p><span class="cGray2">发起人：</span><space uid="vo.uid" >{uname}</space></p>
                    <php> if( false == empty( $vo['users'] ) ){ </php>
                    <p><span class="cGray2">参与者：</span>
                      <php> foreach( $vo['users'] as $so ) { </php>
                      <a href="{:U('home/space/',array('uid'=>$so['uid']))}" >{$so['uid']|getUserName}</a>
                      <php> } </php>
                    </p>
                    <php> } </php>
                    <p class="alR"><span class=" mr10"><if condition="$vo['opts']['allow']">待审人数（{$vo['verifyCount']}）</if> 参加人数（{$vo['joinCount']}） 关注人数（{$vo['attentionCount']}）</span></p>
                  </div>
                </li>
              </volist>
            </ul>
            <div id="Pagination" class="page">{$html}</div>